module.exports =
    (sequelize, DataTypes) => sequelize.define(
        "shops", {
            id: {
                type: DateTypes.INTEGER,
                primaryKey: true,
                autoIncrement: true
            },
            name: {
                type: DataTypes.STRING,
                allowNull: false
            },
            thumb_url: DataTypes.STRING
        }, {
            tableName: 'shops',
        }
    )